package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 景点帖子评论表
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("scene_post_review")
@ApiModel(value = "ScenePostReview对象", description = "景点帖子评论表")
public class ScenePostReviewDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "景点帖子id")
    private Integer scenePostId;

    @ApiModelProperty(value = "评论人id")
    private Integer reviewAxUid;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "发帖人id")
    private Integer postAxUid;

    @ApiModelProperty(value = "显示时间")
    private String viewTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
